﻿using System;
using TestPrint.CommonPrintSet;

namespace TestPrint.PrintNameHelp
{
    public class ControlTreeItem<TSetting> : TreeItem
    {
    }

    public class ControlTreeItem<TSetting, TControl> : ControlTreeItem<TSetting>
    {
        public override Type ControlType
        {
            get
            {
                if (base.ControlType == null)
                {
                    base.ControlType = typeof(TControl);
                }
                return base.ControlType;
            }
            set
            {
                base.ControlType = value;
            }
        }
    }
}
